<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>停车场用户--${headerTitle }</title>
	
  	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1";/><!-- IE的渲染模式 -->
    <meta name="keywords" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="description" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="author" content="blackshadowwalker" />
    
	<link href="bootstrap/3/css/bootstrap.css" rel="stylesheet"/>
	<link href="index/css/justified-nav.css" rel="stylesheet">
	<link href="index/css/style.css" rel="stylesheet" >

	<script src="scripts/jquery/jquery-1.7.min.js"></script>
	<script src="bootstrap/3/js/bootstrap.min.js"></script>
	<link href="bootstrap/3/css/datepicker.css" rel="stylesheet"/>
	<script src="bootstrap/3/js/bootstrap-datepicker.js"></script>
	
	<script src="scripts/validateForm.js?t=456"></script>
	<link href="css/common.css" rel="stylesheet"/>
	
	<script type="text/javascript">
		var msg = "${msg}";
		if(msg!="")
			alert(msg);
			
	</script>
	
	<style>
		body{
			margin-left: 10px;
			margin-top: 7px;
		}
	</style>

</head>

<body>

<div  >
	
	<div>
		<div class="alert-info" style="">
			<a href="${action}" class="btn btn-warning">返回</a>
			<div style="display:inline;margin-left:30px;color:#f00;">
				${msg }
			</div>
		</div >
	</div>
	
	<form id="myform" name="myform" class="form-horizontal">
			<div class="form-group">
				<label class="col-sm-2 control-label"> 收费员头像:</label>
				<div class="col-sm-5">
					<input type="hidden" value="${views.photo}" style="width:200px;" /> <img src="${views.photo}" alt=" 收费员头像"
						style="width:120px;height:130px;cursor:pointer;"/> 
				</div>
			</div>
			
			<div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span> 用户帐号：</label>
		    <div class="col-sm-5">
		    	<s:if test="flag==1">
		    		<input type="text" class="form-control" value="${views.userName}" placeholder="用户帐号"
		      		 disabled/>
		    	</s:if>
		      	<s:else>
		      		<input type="text" class="form-control"  value="${views.userName}" placeholder="用户帐号"  readonly/>
		      	</s:else>
		      	
		    </div>
		  </div>
	     <div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span>真实姓名：</label>
		    <div class="col-sm-5">
		      	<input type="text" class="form-control" value="${views.realName}" placeholder="真实姓名"  readonly/>
		   
		    </div>
		  </div>
		    <div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span>身份证号：</label>
		    <div class="col-sm-5">
		      	<input type="text" class="form-control" value="${views.idCard}" placeholder="身份证号"  readonly/>
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label  class="col-sm-2 control-label"><span style="color:#f00"></span>用户角色：</label>
		    <div class="col-sm-5">
		    	<input type="text" class="form-control" value="${views.roleName}" placeholder="用户角色"  readonly/>
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span>手机号：</label>
		    <div class="col-sm-5">
				<input type="text" class="form-control" value="${views.phone }"  placeholder="手机号" readonly/> 	
		    </div>
		  </div>
		 <div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span>银行帐号：</label>
		    <div class="col-sm-5">
				<input type="text" class="form-control" value="${views.bankAccount }"  placeholder="银行帐号"  readonly/> 	
		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label"><span style="color:#f00"></span>个人简介：</label>
		    <div class="col-sm-5">
				<textarea class="form-control" placeholder="个人简介" readonly>${views.introduction }</textarea>
		    </div>
		  </div>
		  
	</form>
</div>
</body>
</html>